package com.dxt.service;

import com.dxt.pojo.Delivery;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * BelongProject: deliveryManage
 * BelongPackage: com.dxt.service
 * Description:
 *
 * @Author 段鑫涛
 * @Create 2025/3/30 23:39
 * @Version 1.0
 */
public interface DeliveryService {
    List<Delivery> getDeliveryListByUserId(Integer id) throws SQLException;

    void addDeliveryByUserId(String deliveryName, Integer id, String companyId, String phone, String address, String sendTime, String state) throws SQLException;

    void deleteDeliveryById(String id) throws SQLException;

    Delivery getDeliveryListByDeliveryId(String id) throws SQLException;

    void updateDeliveryByDeliveryId(Map<String, String> map, Integer userId) throws SQLException;
}
